package com.ky.tms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ky.tms.entity.TmsLine;
import com.ky.tms.exception.PredictableException;
import com.ky.tms.vo.LinePriceVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengkaimao
 * @since 2020-06-05
 */
public interface ITmsLineService extends IService<TmsLine> {

    IPage<TmsLine> page(TmsLine tmsLine, Long limit, Long pages);
    void add (TmsLine tmsLine) throws PredictableException;
    void delete (List<Long> ids);
    void update (TmsLine tmsLine) throws PredictableException;

    List<LinePriceVo> selectLinePrice(Long lineId);

    List<Map<String, Object>> selectList(Long customerId);



}
